package com.enation.app.shop.front.policyInsurance.service.impl;

import com.enation.app.shop.front.api.inpolicy.entity.InPolicy;
import com.enation.app.shop.front.policyInsurance.service.InPolicyClintManageMapper;
import com.enation.framework.database.IDaoSupport;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class InPolicyClinkService implements InPolicyClintManageMapper{

    @Autowired
    private IDaoSupport iDaoSupport;
    @Override
    public List<InPolicy> getAllInPolicyInfo() {
        String sql = "select * from rbt_inpolicy";
        return iDaoSupport.queryForList(sql,InPolicy.class);
    }

    @Override
    public List<InPolicy> getUnCheckInPolicInfo() {
        return null;
    }

    @Override
    public List<InPolicy> getUnExploreInPolicyInfo() {
        return null;
    }

    @Override
    public List<InPolicy> getOverInPolicyInfo() {
        return null;
    }
}
